* src/android.c (android_wc_lookup_string): Don't clear compose
state upon modifier key depress.
/* Terminate any ongoing character composition after a key is
registered. */
- if (compose_status)
+ if (compose_status
+ /* Provided that a modifier key is not the key being
+ depressed. */
+ && !ANDROID_IS_MODIFIER_KEY (event->keycode))
compose_status->chars_matched = 0;
*status_return = status;
return rc;